package com.words.service;

import com.words.entity.User;

public interface UserService {
    //用户登录
    boolean login(User user);
    //用户注册
    boolean register(User user);
    //用户删除账号
    boolean delete(String username);

    User selectById(int id);
    User selectByName(String username);
}
